<?php
require_once __DIR__.'/common/common.php';
$data=mysqli_query($mysql,"SELECT * FROM `lb`");
while ($a=mysqli_fetch_assoc($data))
{
    $arr[]=$a;
}
echo json_encode($arr);
mysqli_free_result($data);